﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace DSVISUAL
{
    public partial class ExitConfirmForm : Form
    {
        public ExitConfirmForm()
        {
            InitializeComponent();
            this.Text = "Confirm";
            if (this.Parent != null)
                this.StartPosition = FormStartPosition.CenterParent;
            this.StartPosition = FormStartPosition.CenterScreen;
            this.DialogResult = DialogResult.Cancel;
        }

        private void buttonYes_Click(object sender, EventArgs e)
        {
            this.DialogResult = DialogResult.Yes;
        }

        private void buttonNo_Click(object sender, EventArgs e)
        {
            this.DialogResult = DialogResult.No;
        }

        private void buttonCancel_Click(object sender, EventArgs e)
        {
            this.DialogResult = DialogResult.Cancel;
        }
    }
}
